<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: include/designM/decorator.hpp 文件参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="../../dir_7815f4a69fa470e020068bb120d080ef.html">designM</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#namespaces">命名空间</a> &#124;
<a href="#define-members">宏定义</a>  </div>
  <div class="headertitle"><div class="title">decorator.hpp 文件参考</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;type_traits&gt;</code><br />
<code>#include &lt;vector&gt;</code><br />
<code>#include &lt;functional&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
decorator.hpp 的引用(Include)关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../de/d12/decorator_8hpp__incl.png" border="0" usemap="#ainclude_2design_m_2decorator_8hpp" alt=""/></div>
<map name="ainclude_2design_m_2decorator_8hpp" id="ainclude_2design_m_2decorator_8hpp">
<area shape="rect" title=" " alt="" coords="41,5,239,32"/>
<area shape="rect" title=" " alt="" coords="5,80,88,107"/>
<area shape="poly" title=" " alt="" coords="125,35,76,73,73,68,122,30"/>
<area shape="rect" title=" " alt="" coords="111,80,168,107"/>
<area shape="poly" title=" " alt="" coords="142,33,142,64,137,64,137,33"/>
<area shape="rect" title=" " alt="" coords="193,80,270,107"/>
<area shape="poly" title=" " alt="" coords="158,30,206,68,203,73,154,35"/>
</map>
</div>
</div>
<p><a href="../../de/de4/decorator_8hpp_source.html">浏览该文件的源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
类</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d3d/structdecorator__private_____1_1st_decoratee_itfc____.html">decorator_private__::stDecorateeItfc__</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d00/classwheels_1_1dm_1_1decorator.html">wheels::dm::decorator&lt; itfcType &gt;</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d23/classwheels_1_1dm_1_1decorator_1_1decoratee.html">wheels::dm::decorator&lt; itfcType &gt;::decoratee</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">装饰品包装，类似与化妆品包装盒  <a href="../../df/d23/classwheels_1_1dm_1_1decorator_1_1decoratee.html#details">更多...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="namespaces" name="namespaces"></a>
命名空间</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d18/namespacedecorator__private____.html">decorator_private__</a></td></tr>
<tr class="memdesc:dd/d18/namespacedecorator__private____"><td class="mdescLeft">&#160;</td><td class="mdescRight">装饰器模式 <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d8d/namespacewheels.html">wheels</a></td></tr>
<tr class="memdesc:df/d8d/namespacewheels"><td class="mdescLeft">&#160;</td><td class="mdescRight">堆栈信息读取和保存记录 <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d2d/namespacewheels_1_1dm.html">wheels::dm</a></td></tr>
<tr class="memdesc:d8/d2d/namespacewheels_1_1dm"><td class="mdescLeft">&#160;</td><td class="mdescRight">策略方式定义， <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:a410a68dd65f22cacd18b136c3b4cdc37" id="r_a410a68dd65f22cacd18b136c3b4cdc37"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a410a68dd65f22cacd18b136c3b4cdc37">BEGIN_DECLARE_DECORTEE_ITFC</a>(name)</td></tr>
<tr class="separator:a410a68dd65f22cacd18b136c3b4cdc37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3608dc8295015310e3ffc81473df93bc" id="r_a3608dc8295015310e3ffc81473df93bc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a3608dc8295015310e3ffc81473df93bc">DECORTEE_METHOD</a>(RET,  NAME, ...)&#160;&#160;&#160;	virtual RET NAME( __VA_ARGS__ ) = 0;</td></tr>
<tr class="separator:a3608dc8295015310e3ffc81473df93bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab70bba35c18ebd8fa2b25d97f3fcf26b" id="r_ab70bba35c18ebd8fa2b25d97f3fcf26b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ab70bba35c18ebd8fa2b25d97f3fcf26b">END_DECLARE_DECORTEE_ITFC</a>()&#160;&#160;&#160;};</td></tr>
<tr class="separator:ab70bba35c18ebd8fa2b25d97f3fcf26b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1522a4389b2d9adf566b17c15c4ddb2" id="r_ac1522a4389b2d9adf566b17c15c4ddb2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ac1522a4389b2d9adf566b17c15c4ddb2">DECLARE_DECORTEE_DEFAULT</a>(name, ...)</td></tr>
<tr class="separator:ac1522a4389b2d9adf566b17c15c4ddb2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">宏定义说明</h2>
<a id="a410a68dd65f22cacd18b136c3b4cdc37" name="a410a68dd65f22cacd18b136c3b4cdc37"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a410a68dd65f22cacd18b136c3b4cdc37">&#9670;&#160;</a></span>BEGIN_DECLARE_DECORTEE_ITFC</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BEGIN_DECLARE_DECORTEE_ITFC</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>name</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>值:</b><div class="fragment"><div class="line">    <span class="keyword">struct </span>name: <span class="keyword">public</span>  <a class="code hl_struct" href="../../d8/d3d/structdecorator__private_____1_1st_decoratee_itfc____.html">decorator_private__::stDecorateeItfc__</a>{        \</div>
<div class="line">        <span class="keyword">virtual</span> ~name(){}</div>
<div class="ttc" id="astructdecorator__private_____1_1st_decoratee_itfc_____html"><div class="ttname"><a href="../../d8/d3d/structdecorator__private_____1_1st_decoratee_itfc____.html">decorator_private__::stDecorateeItfc__</a></div><div class="ttdef"><b>定义</b> <a href="../../de/de4/decorator_8hpp_source.html#l00018">decorator.hpp:18</a></div></div>
</div><!-- fragment -->
<p class="definition">在文件 <a class="el" href="../../de/de4/decorator_8hpp_source.html">decorator.hpp</a> 第 <a class="el" href="../../de/de4/decorator_8hpp_source.html#l00023">23</a> 行定义.</p>

</div>
</div>
<a id="ac1522a4389b2d9adf566b17c15c4ddb2" name="ac1522a4389b2d9adf566b17c15c4ddb2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac1522a4389b2d9adf566b17c15c4ddb2">&#9670;&#160;</a></span>DECLARE_DECORTEE_DEFAULT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DECLARE_DECORTEE_DEFAULT</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>name</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em></em></span>...&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>值:</b><div class="fragment"><div class="line">    <a class="code hl_define" href="#a410a68dd65f22cacd18b136c3b4cdc37">BEGIN_DECLARE_DECORTEE_ITFC</a>( name )                                 \</div>
<div class="line">        DECORTEE_METHOD( <span class="keywordtype">void</span> , operation , __VA_ARGS__ )               \</div>
<div class="line">    END_DECLARE_DECORTEE_ITFC()</div>
<div class="ttc" id="adecorator_8hpp_html_a410a68dd65f22cacd18b136c3b4cdc37"><div class="ttname"><a href="#a410a68dd65f22cacd18b136c3b4cdc37">BEGIN_DECLARE_DECORTEE_ITFC</a></div><div class="ttdeci">#define BEGIN_DECLARE_DECORTEE_ITFC(name)</div><div class="ttdef"><b>定义</b> <a href="../../de/de4/decorator_8hpp_source.html#l00023">decorator.hpp:23</a></div></div>
</div><!-- fragment -->
<p class="definition">在文件 <a class="el" href="../../de/de4/decorator_8hpp_source.html">decorator.hpp</a> 第 <a class="el" href="../../de/de4/decorator_8hpp_source.html#l00032">32</a> 行定义.</p>

</div>
</div>
<a id="a3608dc8295015310e3ffc81473df93bc" name="a3608dc8295015310e3ffc81473df93bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3608dc8295015310e3ffc81473df93bc">&#9670;&#160;</a></span>DECORTEE_METHOD</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DECORTEE_METHOD</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>RET</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>NAME</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em></em></span>...&#160;)&#160;&#160;&#160;	virtual RET NAME( __VA_ARGS__ ) = 0;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../de/de4/decorator_8hpp_source.html">decorator.hpp</a> 第 <a class="el" href="../../de/de4/decorator_8hpp_source.html#l00027">27</a> 行定义.</p>

</div>
</div>
<a id="ab70bba35c18ebd8fa2b25d97f3fcf26b" name="ab70bba35c18ebd8fa2b25d97f3fcf26b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab70bba35c18ebd8fa2b25d97f3fcf26b">&#9670;&#160;</a></span>END_DECLARE_DECORTEE_ITFC</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define END_DECLARE_DECORTEE_ITFC</td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td>&#160;&#160;&#160;};</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../de/de4/decorator_8hpp_source.html">decorator.hpp</a> 第 <a class="el" href="../../de/de4/decorator_8hpp_source.html#l00030">30</a> 行定义.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
